let introduction = document.getElementById('notice');
introduction.setAttribute('class', introduction.getAttribute('class') + ' active');

let items = document.getElementsByClassName('item');

for (let i = 0; i < items.length; i++) {
    items[i].addEventListener('click', () => {
        location.href="/notice/article?article="+items[i].getAttribute('noticeid');
        location.href.reload;
    })
}